跳到主要内容

Rider

// 格式化代码{}不换行
1.File→Settings→Editor→CodeStyle→C#/JavaScript→BracesLayout→Method declaration/Index inside namespace declaration/...→选择【At end of line (K&R style)】
2.1.File→New Projects Setup→Settings for New Projects→Editor→CodeStyle→C#/JavaScript→BracesLayout→Method declaration/Index inside namespace declaration/...→选择【At end of line (K&R style)】